package sv.gob.mh.dgii.dao.security;

import java.util.List;

import org.springframework.security.core.GrantedAuthority;

import sv.gob.mh.dgii.dao.hibernate.Dao;
import sv.gob.mh.dgii.model.AsOpcion;
import sv.gob.mh.dgii.model.AsRol;

public interface AsRolDao extends Dao {

    public List<AsRol> findBySRolLike(String srol);
    
    public AsRol findBySRol(String srol);
    
    public List<AsRol> findAllBySRol(String[] authorities);

    public List<AsRol> findByOpcion(AsOpcion opcion);
}
//class